* {
    margin: 0;
    padding: 0;
}

.header {
    line-height: 40px;
    overflow: hidden;
}

.message {
    cursor: pointer;
    float: left;
    margin-left: 200px;
}

li {
    list-style: none;
}

.message-num {
    background: #ff0000;
    padding: 0 4px;
    color: #fff;
    border-radius: 6px;
    font-size: 16px;
}

/*消息弹出层*/
.message-layout-wrap,
.more-layout-wrap,
.message-detail-wrap {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background: #000;
    /*-ms-filter: "alpha(Opacity=50)";*/
    /*-moz-opacity: .5;*/
    /*-khtml-opacity: .5;*/
    /*opacity: .5;*/
}

.message-layout {
    background: #fff;
    position: absolute;
    top: 35%;
    width: 400px;
    left: 0;
    right: 0;
    margin: 0 auto;
    padding: 10px;
    border-radius: 5px;
}

.message-layout-header {
    position: relative;
}

.message-header-title {
    text-align: center;
    margin-right: 30px;
    line-height: 30px;
}

.message-header-close {
    width: 30px;
    height: 30px;
    background: url('');
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
}

.message-content {
    margin-top: 20px;
}

.message-content li {
    padding: 5px;
    overflow: hidden;
    color: #ff8000;
    font-weight: bold;
}

.message-content .read {
    color: #4c4a4a;
}

.message-more {
    float: right;
}

.message-detail {
    position: absolute;
    width: 420px;
    min-height: 200px;
    top: 35%;
    left: 0;
    right: 0;
    margin: 0 auto;
    border: 3px solid #666;
    border-radius: 5px;
    z-index: 100;
    background: #fff;
}

.message-detail-title {
    text-align: center;
    height: 29px;
    line-height: 29px;
}

.message-detail-content table {
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

.message-detail-content table tr:first-child td {
    border-top: 1px solid #666;
}

.message-detail-content table td {
    border-bottom: 1px solid #666;
}

.message-detail-content table td:first-child {
    background: #aaa;
}

.message-detail-close {
    width: 100px;
    position: relative;
    top: 30px;
    left: 50%;
    margin-left: -50px;
    padding: 5px 10px;
    text-align: center;
    border: 1px solid #0a396f;
    border-radius: 5px;
    cursor: pointer;
}

.more {
    color: #0a396f;
    cursor: pointer;
    text-align: center;
}
.more:hover{
    color: #ff0000;
}
.icon-more{
    background: url('') no-repeat;
    width: 10px;
    height: 10px;
    display: inline-block;
    margin-left: 10px;
}

/*查看全部列表*/
.more-layout {
    background: #fff;
    position: absolute;
    width: 800px;
    top: 20%;
    left: 0;
    right: 0;
    margin: 0 auto;
    padding: 10px;
    border-radius: 5px;
    z-index: 100;
}

.more-header {
    position: relative;
    text-align: center;
    height: 30px;
}

.more-close {
    width: 30px;
    height: 30px;
    background: url('');
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
}

.more-content {
    margin-top: 30px;
    min-height: 500px;
}

.more-content li {
    overflow: hidden;
    line-height: 35px;
    border-bottom: 1px solid #999;
}

.detail-btn {
    float: right;
    margin: 3px 5px;
}

.split-line {
    display: inline-block;
    padding: 0 10px;
}

.show-more,
.message-more {
    padding: 5px 14px;
    border-radius: 15px;
    cursor: pointer;
    border: 1px solid #dddddd;
    background-color: #fff;
}

.show-more:hover,
.message-more:hover {
    color: #ff0000;
    background-color: #eeeeee;
}

.more-page {
    margin: 20px 0;
}

.active-nick {
    color: red;
}

/*分页*/
.btn-box-nick {
    margin: 10px 0;
    text-align: center;
}

.btn-box-nick button {
    padding: 5px;
    margin: 5px;
}

.btn-box-nick input {
    width: 50px;
    line-height: 25px;
    text-align: center;
}